package com.authine.cloudpivot.ext.service.account;

import com.authine.cloudpivot.ext.dto.finance.AccountDto;
import com.authine.cloudpivot.ext.dto.model.trade.Trade;
import com.authine.cloudpivot.ext.service.organiztion.OrganizationService;

import java.util.List;

public interface AccountService {
    OrganizationService organizationService = new OrganizationService();

    AccountDto loadById(String id);

    List<AccountDto> loadListByIds(List<String> ids);

    void update(AccountDto accountDto);

    Boolean saveByTrades(List<Trade> tradeList);
}
